using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WPFServices.Models;

namespace WPFServices.Models.Domain
{
    public class Material
    {
    }

    public class MaterialDto
    {
        public int Id { get; set; }
        /// <summary>
        /// 物料编号
        /// </summary>
        public string MaterialCode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specification { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string UnitName { get; set; }
        /// <summary>
        /// 物料类型
        /// </summary>
        public string MaterialTypeName { get; set; }
        /// <summary>
        /// 物料属性
        /// </summary>
        public string MaterialPropertyName { get; set; }
    }

    public class SearchMaterialDto : PageModel
    {
        public string? MaterialCode { get; set; }
        public string? MaterialName { get; set; }
        public string? UnitName { get; set; }
        public string? MaterialTypeName { get; set; }
        public string? MaterialPropertyName { get; set; }
    }
} 